FUNCTION

get_last_pending_transfer_for_account

function get_last_pending_transfer_for_account(sender_id: byte_array, target_blockchain_rid: byte_array, recipient_id: byte_array, asset_id: byte_array, amount: big_integer): (tx_data: byte_array, op_index: integer, sender_account: immutable_mirror_struct<account>)?

Retrieves only the last transfer that was not yet completed, based on the parameters specified.

Parameters

  • sender_id — the id of the account that sent the transfer
  • target_blockchain_rid — the blockchain which is supposed to receive the transfer
  • recipient_id — the account that is supposed to receive the transfer
  • asset_id — the asset that was being transferred
  • amount — the amount that was being transferred

See Also

© 2024 Chromia